package com.job.feign.client.auth;

import com.job.client.common.result.ResponseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "client-auth-service",path = "/api/v1/client/auth")
public interface AuthFeign {
    @GetMapping
    public ResponseResult getUserInfoById(@RequestParam String userId);
    @GetMapping("/authentication")
    public ResponseResult authentication(
            @RequestParam String companyId,
            @RequestParam String userId,
            @RequestParam String companyName);
}
